﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace ForGVN
{
    public partial class Form9 : Form
    {
        public Form9()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            comboBox1.Text = null;
            textBox1.Text = null;
        }

        private void button2_Click(object sender, EventArgs e)
        {
                Class2.Insert_channel(comboBox1.Text,textBox1.Text);
                comboBox1.Text = null;
                textBox1.Text = null;
                MessageBox.Show("Đã thêm vào CSDL");
        }

   }
}